<table style='border-width: 1px 1px 1px 1px; border-style: dashed dashed dashed dashed; border-color: #000000;' width="220">
  <tr>
    <td>
      Search results for
      <font class="regular_subject">
        "${query}"
      </font>
      <br/>
    </td>
  </tr>
  <tr>
    <td>
      <div id="search_results">
        <table>
          <g:each in="${results}">
            <tr>
              <td colspan="2">
                <div id="result_${it.id}">
                  <g:include controller="search" action="result" id="${it.id}" />
                </div>
              </td>
            </tr>
          </g:each>
        </table>
      </div>
    </td>
  </tr>
</table>

<input type='hidden' id='query_reference' value='${query}'/>